Spread Windows Forms 11.0 Product Documentation
SetArray(Int32,Int32,Object[,],Boolean,ReferenceStyle) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class > SetArray Method : SetArray(Int32,Int32,Object[,],Boolean,ReferenceStyle) Method
Row index of the start of the range of cells
Column index of the start of the range of cells
Two-dimensional object array[row,column] that contains the values
If true, set formulas; otherwise, set values.
The reference style of formulas
Sets an object array into a specified range of cells.
Syntax
'Declaration
 
Public Overloads Sub SetArray( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value(,) As Object, _
   ByVal formula As Boolean, _
   ByVal referenceStyle As ReferenceStyle _
) 
'Usage
 
Dim instance As DefaultSheetDataModel
Dim row As Integer
Dim column As Integer
Dim value() As Object
Dim formula As Boolean
Dim referenceStyle As ReferenceStyle
 
instance.SetArray(row, column, value, formula, referenceStyle)
public void SetArray( 
   int row,
   int column,
   object[,] value,
   bool formula,
   ReferenceStyle referenceStyle
)

Parameters

row
Row index of the start of the range of cells
column
Column index of the start of the range of cells
value
Two-dimensional object array[row,column] that contains the values
formula
If true, set formulas; otherwise, set values.
referenceStyle
The reference style of formulas
See Also

Reference

DefaultSheetDataModel Class
DefaultSheetDataModel Members
Overload List